package cn.psvmc.cxzapi.model.ticket;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 工单处理表
 * @Author auto
 * @Date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_ticket_replies")
public class TTicketReplies implements Serializable {

    @TableId(value = "trid", type = IdType.AUTO)
    //工单处理id
    private Integer trid;

    //工单id
    @TableField("ticket_id")
    private Integer ticketId;

    //回复内容
    @TableField("comm")
    private String comm;

    //回复人
    @TableField("replier")
    private String replier;

    //用户类型（1商家 2客户）
    @TableField("usertype")
    private Integer usertype;

    //创建人id
    @TableField(value = "createid", fill = FieldFill.INSERT)
    private Integer createid;

    //创建时间
    @TableField(value = "createtime", fill = FieldFill.INSERT)
    private LocalDateTime createtime;


}
